Get specific rate
Retrieves the exchange rate for a specific base and quote asset at a given time or the current rate.
If you are using an exchange rate for mission-critical operations, then for best reliability, you should measure the difference between current time and the time returned from the response to ensure that value of the difference between those meets your internal requirements.
APIKeyX-CoinAPI-Key<token>CoinAPI API key needed to access the endpoints
asset_id_base*stringRequested exchange rate base asset identifier (from the Metadata -> Assets)
asset_id_quote*stringRequested exchange rate quote asset identifier (from the Metadata -> Assets)
time?stringTime at which exchange rate is calculated (optional, if not supplied then current rate is returned)
successful operation
- response
Represents an exchange rate.
time?stringGets or sets the time of the exchange rate.
date-timeasset_id_base?|Gets or sets the base asset ID of the exchange rate.
asset_id_quote?|Gets or sets the quote asset ID of the exchange rate.
rate?numberGets or sets the exchange rate value.
doublecurl -X GET 'https://api-historical.fx.finfeedapi.com/v1/exchangerate/string/string'{ "time": "2026-10-13T00:20:04.3649141Z", "asset_id_base": "BTC", "asset_id_quote": "USD", "rate": 10000}